tools/python: Adjust migration v2 library to warn about zero-content records
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 30 Mar 2017 16:32:33 +0000 (17:32 +0100)
committerWei Liu <wei.liu2@citrix.com>
Thu, 6 Apr 2017 09:37:32 +0000 (10:37 +0100)
commit04f34e76ac50acaeaf9758225a9678e91e4297ec
tree3ec3d52ee49094b6c5ea22107a05706eeeef51ab
parent72efb1df629421037e2795f5529210aaa95ec72e
tools/python: Adjust migration v2 library to warn about zero-content records

These records shouldn't be in a stream, but accidentally are.  Warn about
them, but don't abort the verification.

While here, add a missing length check to the X86_PV_P2M_FRAMES record
checker.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/python/xen/migration/libxc.py